﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CSConsoleTest
{
    class TestAnonymousType : BaseConsoleTest
    {
        public void printDescription()
        {
            Console.WriteLine("--- Anonymous type ---");
        }

        public void doTest()
        {
            var xType = new {Name="X-Man", Age=31, Habbits="Coding"};
            Console.WriteLine("{0} {1} {2}", xType.Name, xType.Age, xType.Habbits);
        }
    }
}
